/ BBS in a Box 11
/ AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Prog / S / Smaller Installer Pack1.02.sit / Smaller Installer 1.0.2 / Hook Proc Examples / DemoHook / SIHookProc.h ![]() | < prev |
MacBinary | 1992-12-19 | 2.4 KB | [TEXT/KAHL] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, Sat Dec 19 19:14:09 1992, modified Sat Dec 19 19:14:09 1992, creator Think C, type ASCII, 1904 bytes "SIHookProc.h" , at 0x7f0 348 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [KAHL] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 53 49 48 6f 6f 6b | 50 72 6f 63 2e 68 00 00 |..SIHook|Proc.h..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 07 70 00 | 00 01 5c a7 59 6b 51 a7 |......p.|..\.YkQ.|
|00000060| 59 6b 51 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |YkQ.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d7 15 00 00 |........|........|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0d |********|*******.|
|000000d0| 2a 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |*.......|........|
|000000e0| 09 09 09 09 09 09 09 09 | 09 09 09 2a 0d 2a 09 09 |........|...*.*..|
|000000f0| 09 09 09 09 09 09 09 09 | 20 53 6d 61 6c 6c 65 72 |........| Smaller|
|00000100| 20 49 6e 73 74 61 6c 6c | 65 72 aa 09 09 09 09 09 | Install|er......|
|00000110| 09 09 09 09 09 2a 0d 2a | 09 09 09 09 09 09 09 09 |.....*.*|........|
|00000120| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |........|........|
|00000130| 09 09 2a 0d 2a 09 09 09 | 09 09 09 09 09 09 09 a9 |..*.*...|........|
|00000140| 20 31 39 39 32 20 42 69 | 6c 6c 20 47 6f 6f 64 6d | 1992 Bi|ll Goodm|
|00000150| 61 6e 09 09 09 09 09 09 | 09 09 09 09 2a 0d 2a 09 |an......|....*.*.|
|00000160| 09 09 09 09 09 09 09 09 | 09 41 6c 6c 20 52 69 67 |........|.All Rig|
|00000170| 68 74 73 20 52 65 73 65 | 72 76 65 64 09 09 09 09 |hts Rese|rved....|
|00000180| 09 09 09 09 09 09 2a 0d | 2a 09 09 09 09 09 09 09 |......*.|*.......|
|00000190| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |........|........|
|000001a0| 09 09 09 2a 0d 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |...*.***|********|
|000001b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001f0| 2a 2a 2a 2a 0d 0d 09 54 | 68 69 73 20 68 65 61 64 |****...T|his head|
|00000200| 65 72 20 64 65 66 69 6e | 65 73 20 74 68 65 20 49 |er defin|es the I|
|00000210| 6e 73 74 61 6c 6c 65 72 | 20 48 6f 6f 6b 20 50 72 |nstaller| Hook Pr|
|00000220| 6f 63 65 64 75 72 65 20 | 69 6e 74 65 72 66 61 63 |ocedure |interfac|
|00000230| 65 2e 0d 0d 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |e...****|********|
|00000240| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000250| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000260| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000270| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000280| 2a 2a 2f 0d 0d 0d 2f 2a | 2a 2a 2a 2a 2a 2a 2a 2a |**/.../*|********|
|00000290| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002d0| 2a 2a 2a 2a 2a 0d 09 49 | 6e 73 74 61 6c 6c 65 72 |*****..I|nstaller|
|000002e0| 20 48 6f 6f 6b 20 50 61 | 72 61 6d 65 74 65 72 20 | Hook Pa|rameter |
|000002f0| 42 6c 6f 63 6b 20 44 65 | 66 69 6e 69 74 69 6f 6e |Block De|finition|
|00000300| 0d 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.*******|********|
|00000310| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000320| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000330| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000340| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2f |********|*******/|
|00000350| 0d 74 79 70 65 64 65 66 | 20 73 74 72 75 63 74 0d |.typedef| struct.|
|00000360| 09 7b 0d 09 73 68 6f 72 | 74 20 66 75 6e 63 74 69 |.{..shor|t functi|
|00000370| 6f 6e 3b 09 09 09 09 2f | 2a 20 46 75 6e 63 74 69 |on;..../|* Functi|
|00000380| 6f 6e 20 74 6f 20 70 65 | 72 66 6f 72 6d 3a 20 2a |on to pe|rform: *|
|00000390| 2f 0d 23 64 65 66 69 6e | 65 20 73 69 48 6f 6f 6b |/.#defin|e siHook|
|000003a0| 53 65 74 54 61 72 67 65 | 74 56 6f 6c 09 09 09 31 |SetTarge|tVol...1|
|000003b0| 09 2f 2a 20 53 65 74 20 | 74 61 72 67 65 74 20 76 |./* Set |target v|
|000003c0| 6f 6c 75 6d 65 20 2a 2f | 0d 23 64 65 66 69 6e 65 |olume */|.#define|
|000003d0| 20 73 69 48 6f 6f 6b 42 | 65 67 69 6e 49 6e 73 74 | siHookB|eginInst|
|000003e0| 61 6c 6c 09 09 09 32 09 | 2f 2a 20 42 65 67 69 6e |all...2.|/* Begin|
|000003f0| 20 69 6e 73 74 61 6c 6c | 20 2a 2f 0d 23 64 65 66 | install| */.#def|
|00000400| 69 6e 65 20 73 69 48 6f | 6f 6b 45 6e 64 49 6e 73 |ine siHo|okEndIns|
|00000410| 74 61 6c 6c 09 09 09 33 | 09 2f 2a 20 45 6e 64 20 |tall...3|./* End |
|00000420| 69 6e 73 74 61 6c 6c 20 | 2a 2f 0d 0d 09 73 68 6f |install |*/...sho|
|00000430| 72 74 20 74 61 72 67 65 | 74 56 52 65 66 4e 75 6d |rt targe|tVRefNum|
|00000440| 3b 09 09 09 2f 2a 20 56 | 6f 6c 75 6d 65 20 72 65 |;.../* V|olume re|
|00000450| 66 65 72 65 6e 63 65 20 | 6e 75 6d 62 65 72 20 6f |ference |number o|
|00000460| 66 20 74 61 72 67 65 74 | 20 76 6f 6c 75 6d 65 20 |f target| volume |
|00000470| 2a 2f 0d 0d 09 73 68 6f | 72 74 20 67 72 6f 75 70 |*/...sho|rt group|
|00000480| 41 50 46 6c 61 67 73 3b | 09 09 09 2f 2a 20 47 72 |APFlags;|.../* Gr|
|00000490| 6f 75 70 20 41 2d 50 20 | 66 6c 61 67 73 20 28 4d |oup A-P |flags (M|
|000004a0| 53 42 3a 50 20 2d 2d 20 | 4c 53 42 3a 41 29 20 2a |SB:P -- |LSB:A) *|
|000004b0| 2f 0d 09 73 68 6f 72 74 | 20 67 72 6f 75 70 51 55 |/..short| groupQU|
|000004c0| 53 65 6c 3b 09 09 09 09 | 2f 2a 20 47 72 6f 75 70 |Sel;....|/* Group|
|000004d0| 20 51 2d 55 20 73 65 6c | 65 63 74 6f 72 20 28 30 | Q-U sel|ector (0|
|000004e0| 3a 51 20 2d 2d 20 34 3a | 55 29 20 2a 2f 0d 09 73 |:Q -- 4:|U) */..s|
|000004f0| 68 6f 72 74 20 67 72 6f | 75 70 56 5a 53 65 6c 3b |hort gro|upVZSel;|
|00000500| 09 09 09 09 2f 2a 20 47 | 72 6f 75 70 20 56 2d 5a |..../* G|roup V-Z|
|00000510| 20 73 65 6c 65 63 74 6f | 72 20 28 30 3a 56 20 2d | selecto|r (0:V -|
|00000520| 2d 20 34 3a 5a 29 20 2a | 2f 0d 0d 09 73 68 6f 72 |- 4:Z) *|/...shor|
|00000530| 74 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 53 74 73 3b |t comple|tionSts;|
|00000540| 09 09 09 2f 2a 20 43 6f | 6d 70 6c 65 74 69 6f 6e |.../* Co|mpletion|
|00000550| 20 73 74 61 74 75 73 20 | 66 6f 72 20 45 6e 64 49 | status |for EndI|
|00000560| 6e 73 74 61 6c 6c 20 2a | 2f 0d 23 64 65 66 69 6e |nstall *|/.#defin|
|00000570| 65 20 73 69 48 6f 6f 6b | 43 6f 6d 70 6c 65 74 65 |e siHook|Complete|
|00000580| 09 09 09 09 30 09 2f 2a | 20 49 6e 73 74 61 6c 6c |....0./*| Install|
|00000590| 20 63 6f 6d 70 6c 65 74 | 65 64 20 77 69 74 68 6f | complet|ed witho|
|000005a0| 75 74 20 65 72 72 6f 72 | 20 2a 2f 0d 23 64 65 66 |ut error| */.#def|
|000005b0| 69 6e 65 20 73 69 48 6f | 6f 6b 46 69 6c 65 53 6b |ine siHo|okFileSk|
|000005c0| 69 70 70 65 64 09 09 09 | 31 09 2f 2a 20 49 6e 73 |ipped...|1./* Ins|
|000005d0| 74 61 6c 6c 20 63 6f 6d | 70 6c 65 74 65 64 20 62 |tall com|pleted b|
|000005e0| 75 74 20 73 6f 6d 65 20 | 66 69 6c 65 73 20 77 65 |ut some |files we|
|000005f0| 72 65 20 73 6b 69 70 70 | 65 64 20 2a 2f 0d 23 64 |re skipp|ed */.#d|
|00000600| 65 66 69 6e 65 20 73 69 | 48 6f 6f 6b 41 62 6f 72 |efine si|HookAbor|
|00000610| 74 65 64 09 09 09 09 32 | 09 2f 2a 20 49 6e 73 74 |ted....2|./* Inst|
|00000620| 61 6c 6c 20 77 61 73 20 | 61 62 6f 72 74 65 64 20 |all was |aborted |
|00000630| 64 75 65 20 74 6f 20 65 | 72 72 6f 72 73 20 6f 72 |due to e|rrors or|
|00000640| 20 75 73 65 72 20 63 61 | 6e 63 65 6c 6c 61 74 69 | user ca|ncellati|
|00000650| 6f 6e 20 2a 2f 0d 0d 09 | 73 68 6f 72 74 20 72 65 |on */...|short re|
|00000660| 73 75 6c 74 3b 09 09 09 | 09 09 2f 2a 20 52 65 74 |sult;...|../* Ret|
|00000670| 75 72 6e 65 64 20 72 65 | 73 75 6c 74 20 2a 2f 0d |urned re|sult */.|
|00000680| 23 64 65 66 69 6e 65 20 | 73 69 48 6f 6f 6b 4e 6f |#define |siHookNo|
|00000690| 45 72 72 09 09 09 09 09 | 30 09 2f 2a 20 4e 6f 20 |Err.....|0./* No |
|000006a0| 65 72 72 6f 72 20 2a 2f | 0d 23 64 65 66 69 6e 65 |error */|.#define|
|000006b0| 20 73 69 48 6f 6f 6b 41 | 62 6f 72 74 09 09 09 09 | siHookA|bort....|
|000006c0| 09 31 09 2f 2a 20 45 72 | 72 6f 72 20 2d 20 61 62 |.1./* Er|ror - ab|
|000006d0| 6f 72 74 20 69 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |ort inst|allation|
|000006e0| 20 2a 2f 0d 09 7d 20 53 | 49 48 6f 6f 6b 50 61 72 | */..} S|IHookPar|
|000006f0| 6d 42 6c 6b 3b 0d 0d 0d | 2f 2a 2a 2a 2a 2a 2a 2a |mBlk;...|/*******|
|00000700| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000710| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000720| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000730| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000740| 2a 2a 2a 2a 2a 2a 2a 0d | 09 48 6f 6f 6b 20 50 72 |*******.|.Hook Pr|
|00000750| 6f 63 65 64 75 72 65 20 | 44 65 66 69 6e 69 74 69 |ocedure |Definiti|
|00000760| 6f 6e 0d 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |on.*****|********|
|00000770| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000780| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000790| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000007a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000007b0| 2a 2f 0d 74 79 70 65 64 | 65 66 20 70 61 73 63 61 |*/.typed|ef pasca|
|000007c0| 6c 20 76 6f 69 64 20 28 | 2a 53 49 48 6f 6f 6b 50 |l void (|*SIHookP|
|000007d0| 72 6f 63 50 74 72 29 28 | 53 49 48 6f 6f 6b 50 61 |rocPtr)(|SIHookPa|
|000007e0| 72 6d 42 6c 6b 20 2a 70 | 61 72 6d 42 6c 6b 29 3b |rmBlk *p|armBlk);|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00000810| 00 00 7f fc 00 00 0f e0 | 00 00 00 00 00 00 0f e0 |........|........|
|00000820| 00 00 7f fc 00 01 ff ff | 00 03 ff ff 80 07 ff ff |........|........|
|00000830| 0c 53 49 48 6f 6f 6b 50 | 72 6f 63 2e 68 8b 02 00 |.SIHookP|roc.h...|
|00000840| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000850| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 a9 80 1d c1 00 00 | 00 00 00 00 01 5c ff ff |........|.....\..|
|00000880| f0 0f ff ff e0 07 ff ff | c0 03 ff ff 80 01 ff ff |........|........|
|00000890| 00 00 7f fc 00 00 0f e0 | 00 00 00 00 00 00 00 01 |........|........|
|000008a0| 00 3f ff ff 80 20 00 00 | c0 20 00 00 a0 20 1f c0 |.?... ..|. ... ..|
|000008b0| 90 20 38 f0 88 20 60 38 | fc 20 fc 4c 04 21 be ec |. 8.. `8|. .L.!..|
|000008c0| 04 21 bf 64 04 21 0e e6 | 04 21 0f 66 04 21 0f e6 |.!.d.!..|.!.f.!..|
|000008d0| 04 21 8f e6 04 21 8f e4 | 04 20 de fc 04 20 cf 38 |.!...!..|. ... .8|
|000008e0| 04 20 77 30 04 20 3f e0 | 04 20 07 80 04 20 00 00 |. w0. ?.|. ... ..|
|000008f0| 04 20 00 00 04 20 00 03 | 04 20 00 04 04 27 2c ce |. ... ..|. ...',.|
|00000900| 00 00 00 04 00 07 00 03 | 00 00 00 0a 00 0c 06 4d |........|.......M|
|00000910| 6f 6e 61 63 6f 00 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........|
|00000920| 00 16 00 00 00 46 00 62 | cd 40 06 9e 00 00 00 1c |.....F.b|.@......|
|00000930| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|00000940| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 62 cc 64 |........|.....b.d|
|00000950| 03 eb ff ff 00 00 00 08 | 00 62 cd a0 00 00 00 00 |........|.b......|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+